package com.cn.domain;

import java.util.HashSet;
import java.util.Set;

public class Category {
    private int categoryid;
	private String categoryname;
    /* 
     * 分类与图书之间的关系是一对多*/
    
	private Set<Book> booksetSet = new HashSet<Book>(); 
	public int getCategoryid() {
		return categoryid;
	}
	public void setCategoryid(int categoryid) {
		this.categoryid = categoryid;
	}
	public String getCategoryname() {
		return categoryname;
	}
	public void setCategoryname(String categoryname) {
		this.categoryname = categoryname;
	}
	public Set<Book> getBooksetSet() {
		return booksetSet;
	}
	public void setBooksetSet(Set<Book> booksetSet) {
		this.booksetSet = booksetSet;
	}

	
	
}
